﻿<UserControl x:Class="Microsoft.Research.ScientificWorkflow.ManagementStudioControls.WorkflowManagerModule.RunningWorkflowsSearchView"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
    <Grid>
        <StackPanel HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Margin="5,5,5,5">
                <TextBlock Text="Job name" TextWrapping="Wrap" Margin="0,0,0,3"/>
				<TextBox TextWrapping="Wrap" Margin="0,0,0,5"/>
				<TextBlock Text="Status" TextWrapping="Wrap" Margin="0,0,0,3"/>
				<ComboBox Name="Status" Margin="0,0,0,5" ItemsSource="{Binding Path=StatusList}" SelectedIndex="0" SelectedValue="{Binding Path=JobStatus}" AutomationProperties.AutomationId="RunningSearchJobStatus"/>
                <TextBlock Text="Node" TextWrapping="Wrap" Margin="0,0,0,3"/>
				<ComboBox Name="Node" Margin="0,0,0,5" ItemsSource="{Binding Path=JobNodeList}" SelectedIndex="0" SelectedValue="{Binding Path=NodeName}" AutomationProperties.AutomationId="RunningSearchNodeName"/>
                <Button Command="{Binding Path=SearchCommand}" Content="Search" HorizontalAlignment="Left" Margin="0,-1,0,0" Width="65" AutomationProperties.AutomationId="RunningSearchButton"/>
			</StackPanel>
    </Grid>
</UserControl>
